<?php session_start();

require_once("sina_api.php");

sina_add_weibo($_SESSION['access_token'], $_REQUEST['content']);

header('Location:' . $_SERVER['HTTP_REFERER']);
?>